<template>
    <div>
        <div class="detail-content-Secondarytitle">
            <div class="Secondarytitle">
                <p>{{titlename}}</p>
            </div>
        </div>
    </div>
</template>
<script>

export default {
    props: {
        titlename: {
            type: String,
            default: () => '主要内容'
        }
    }
}
</script>
<style lang="less" scoped>
.detail-content-Secondarytitle {
    margin: 10px 0;

    .Secondarytitle {
        font-weight: 500;
        font-size: 20px;
        position: relative;
        margin-bottom: 10px;
        padding: 10px 15px;
        z-index: 0;
    }

    .Secondarytitle::before {
        content: '';
        position: absolute;
        height: 25px;
        width: 5px;
        background: rgb(255, 221, 30);
        z-index: 99;
        left: 4px;
        top: 9px;
    }
}
</style>